<%--
  Created by IntelliJ IDEA.
  User: 凌某人
  Date: 2020/7/12
  Time: 18:42
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <script>
        if(${not empty msg}){
            alert('${msg}');
        }
    </script>

</head>
<body>
<form action="${pageContext.request.contextPath}/user/login" method="post">
    用户名:<input type="text" name="uersname" ><br>
    密码：<input type="password" name="userpwd"><br>
    <button type="submit">登录</button>
    <a href="${pageContext.request.contextPath}/user/register">注册</a>
</form>

</body>
</html>
